Where Was God?

Where was God when the worst happened, why did He let ithappen?